package com.py.credit.constant;

public enum InterfaceType {

	DETAIL("detail"), LIST("list");

	private String name;

	InterfaceType(String name) {

		this.name = name;

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public static void main(String[] args) {

		InterfaceType[] values = InterfaceType.values();

		for (InterfaceType v : values) {

			System.out.println(v.getName());

		}

	}

}
